package com.cecsmsserve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("health_record_type")
public class HealthRecordType {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    private String name;
    
    private String description;
    
    private String unit;
    
    private Boolean isNumeric;
    
    private BigDecimal minValue;
    
    private BigDecimal maxValue;
    
    private String icon;
    
    private Integer sortOrder;
    
    private Boolean status;
    
    private Boolean isGraph;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
} 